package com.lxmes.procontrol.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 工单明细对象 nc_pro_order_info
 * 
 * @author 张志煜
 * @date 2022-12-29
 */
public class NcProOrderInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String factoryCode;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String factoryName;

    /** 单号 */
    @Excel(name = "单号")
    private String danhao;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNo;

    /** 合同号 */
    @Excel(name = "合同号")
    private String contractNo;

    /** 排产编号 */
    @Excel(name = "排产编号")
    private String pcCode;

    /** 排产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pcDate;

    /** 生产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date scDate;

    /** 交货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date jhDate;

    /** 生产线代码 */
    @Excel(name = "生产线代码")
    private String lineCode;

    /** 生产线名称 */
    @Excel(name = "生产线名称")
    private String lineName;

    /** 工位代码 */
    @Excel(name = "工位代码")
    private String gwCode;

    /** 工位名称 */
    @Excel(name = "工位名称")
    private String gwName;

    /** 员工工号 */
    @Excel(name = "员工工号")
    private String empNum;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String empName;

    /** 产品类型 */
    @Excel(name = "产品类型")
    private String proType;

    /** 工序产品编号 */
    @Excel(name = "工序产品编号")
    private String gxProCode;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String proName;

    /** 对应产品编号 */
    @Excel(name = "对应产品编号")
    private String dyProCode;

    /** 对应原材料编号 */
    @Excel(name = "对应原材料编号")
    private String dyYclCode;

    /** 排产数量 */
    @Excel(name = "排产数量")
    private BigDecimal pcNum;

    /** 派工数量 */
    @Excel(name = "派工数量")
    private BigDecimal pgNum;

    /** 报工数量 */
    @Excel(name = "报工数量")
    private BigDecimal bgNum;
    //一报工数量
    private BigDecimal ybgNum;

    /** 返修数量 */
    @Excel(name = "返修数量")
    private BigDecimal returnNum;

    /** 是否接单0-未接 1-接单 */
    @Excel(name = "是否接单0-未接 1-接单")
    private String isJd;
    //外径公差
    private String  wjgc;
    //内径公差
    private String  njgc;
    //厚度公差
    private String  hdgc;
    //台径台高
    private String  tjtg;
    //中心距
    private String  zxj;
    //孔径孔数
    private String  kjks;
    //理论重量
    private String  llzl;
    //下料重量
    private String  xlzl;
    //计算重量
    private String  jszl;
    //物料识别号
    private String itemIdentifyCode;
    private Long deptId;
    private Long userId;
    private String dj;
    private String sx;
    private String mfmdj;
    private String content;
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFactoryCode(String factoryCode) 
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode() 
    {
        return factoryCode;
    }
    public void setFactoryName(String factoryName) 
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName() 
    {
        return factoryName;
    }
    public void setDanhao(String danhao) 
    {
        this.danhao = danhao;
    }

    public String getDanhao() 
    {
        return danhao;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setContractNo(String contractNo) 
    {
        this.contractNo = contractNo;
    }

    public String getContractNo() 
    {
        return contractNo;
    }
    public void setPcCode(String pcCode) 
    {
        this.pcCode = pcCode;
    }

    public String getPcCode() 
    {
        return pcCode;
    }
    public void setPcDate(Date pcDate) 
    {
        this.pcDate = pcDate;
    }

    public Date getPcDate() 
    {
        return pcDate;
    }
    public void setScDate(Date scDate) 
    {
        this.scDate = scDate;
    }

    public Date getScDate() 
    {
        return scDate;
    }
    public void setJhDate(Date jhDate) 
    {
        this.jhDate = jhDate;
    }

    public Date getJhDate() 
    {
        return jhDate;
    }
    public void setLineCode(String lineCode) 
    {
        this.lineCode = lineCode;
    }

    public String getLineCode() 
    {
        return lineCode;
    }
    public void setLineName(String lineName) 
    {
        this.lineName = lineName;
    }

    public String getLineName() 
    {
        return lineName;
    }
    public void setGwCode(String gwCode) 
    {
        this.gwCode = gwCode;
    }

    public String getGwCode() 
    {
        return gwCode;
    }
    public void setGwName(String gwName) 
    {
        this.gwName = gwName;
    }

    public String getGwName() 
    {
        return gwName;
    }
    public void setEmpNum(String empNum) 
    {
        this.empNum = empNum;
    }

    public String getEmpNum() 
    {
        return empNum;
    }
    public void setEmpName(String empName) 
    {
        this.empName = empName;
    }

    public String getEmpName() 
    {
        return empName;
    }
    public void setProType(String proType) 
    {
        this.proType = proType;
    }

    public String getProType() 
    {
        return proType;
    }
    public void setGxProCode(String gxProCode) 
    {
        this.gxProCode = gxProCode;
    }

    public String getGxProCode() 
    {
        return gxProCode;
    }
    public void setProName(String proName) 
    {
        this.proName = proName;
    }

    public String getProName() 
    {
        return proName;
    }
    public void setDyProCode(String dyProCode) 
    {
        this.dyProCode = dyProCode;
    }

    public String getDyProCode() 
    {
        return dyProCode;
    }
    public void setDyYclCode(String dyYclCode) 
    {
        this.dyYclCode = dyYclCode;
    }

    public String getDyYclCode() 
    {
        return dyYclCode;
    }
    public void setPcNum(BigDecimal pcNum) 
    {
        this.pcNum = pcNum;
    }

    public BigDecimal getPcNum() 
    {
        return pcNum;
    }
    public void setPgNum(BigDecimal pgNum) 
    {
        this.pgNum = pgNum;
    }

    public BigDecimal getPgNum() 
    {
        return pgNum;
    }
    public void setBgNum(BigDecimal bgNum) 
    {
        this.bgNum = bgNum;
    }

    public BigDecimal getBgNum() 
    {
        return bgNum;
    }
    public void setReturnNum(BigDecimal returnNum) 
    {
        this.returnNum = returnNum;
    }

    public BigDecimal getReturnNum() 
    {
        return returnNum;
    }
    public void setIsJd(String isJd) 
    {
        this.isJd = isJd;
    }

    public String getIsJd() 
    {
        return isJd;
    }

    public String getWjgc() {
        return wjgc;
    }

    public void setWjgc(String wjgc) {
        this.wjgc = wjgc;
    }

    public String getNjgc() {
        return njgc;
    }

    public void setNjgc(String njgc) {
        this.njgc = njgc;
    }

    public String getHdgc() {
        return hdgc;
    }

    public void setHdgc(String hdgc) {
        this.hdgc = hdgc;
    }

    public String getTjtg() {
        return tjtg;
    }

    public void setTjtg(String tjtg) {
        this.tjtg = tjtg;
    }

    public String getZxj() {
        return zxj;
    }

    public void setZxj(String zxj) {
        this.zxj = zxj;
    }

    public String getKjks() {
        return kjks;
    }

    public void setKjks(String kjks) {
        this.kjks = kjks;
    }

    public String getLlzl() {
        return llzl;
    }

    public void setLlzl(String llzl) {
        this.llzl = llzl;
    }

    public String getXlzl() {
        return xlzl;
    }

    public void setXlzl(String xlzl) {
        this.xlzl = xlzl;
    }

    public String getItemIdentifyCode() {
        return itemIdentifyCode;
    }

    public void setItemIdentifyCode(String itemIdentifyCode) {
        this.itemIdentifyCode = itemIdentifyCode;
    }

    public BigDecimal getYbgNum() {
        return ybgNum;
    }

    public void setYbgNum(BigDecimal ybgNum) {
        this.ybgNum = ybgNum;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getJszl() {
        return jszl;
    }

    public void setJszl(String jszl) {
        this.jszl = jszl;
    }
    public String getDj() {
        return dj;
    }

    public void setDj(String dj) {
        this.dj = dj;
    }

    public String getSx() {
        return sx;
    }

    public void setSx(String sx) {
        this.sx = sx;
    }

    public String getMfmdj() {
        return mfmdj;
    }

    public void setMfmdj(String mfmdj) {
        this.mfmdj = mfmdj;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryCode", getFactoryCode())
            .append("factoryName", getFactoryName())
            .append("danhao", getDanhao())
            .append("orderNo", getOrderNo())
            .append("contractNo", getContractNo())
            .append("pcCode", getPcCode())
            .append("pcDate", getPcDate())
            .append("scDate", getScDate())
            .append("jhDate", getJhDate())
            .append("lineCode", getLineCode())
            .append("lineName", getLineName())
            .append("gwCode", getGwCode())
            .append("gwName", getGwName())
            .append("empNum", getEmpNum())
            .append("empName", getEmpName())
            .append("proType", getProType())
            .append("gxProCode", getGxProCode())
            .append("proName", getProName())
            .append("dyProCode", getDyProCode())
            .append("dyYclCode", getDyYclCode())
            .append("pcNum", getPcNum())
            .append("pgNum", getPgNum())
            .append("bgNum", getBgNum())
            .append("returnNum", getReturnNum())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isJd", getIsJd())
            .append("remark", getRemark())
            .toString();
    }
}
